<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title> Home </title>
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
<script language="JavaScript" src="gen_validatorv4.js" type="text/javascript"></script>
</head>
<body>

<jsp:include page="/header.jsp" />

<div id="wrapper">
	<!-- start page -->
	<div id="page">
		<jsp:include page="/sideMenuLeft.jsp" />
		<!-- start content -->
		<div id="content">			
			<div class="post">
				<h1 class="title"><a href="#">Login</a></h1>
				<p class="byline"><br ></p>
				<div class="entry">
					
					<form action="login" method="post" id="myform">
						<table border="0" align="center">
							<tr>
								<td colspan="3"></td>
							</tr>

							<tr>
								<td>
									<b>User Name</b>
								</td>
								<td>
									<b>:</b>
								</td>
								<td>
									<input type="text" name="userName" id="userName" />
								</td>
							</tr>

							<tr>
								<td>
									<b>Password</b>
								</td>
								<td>
									<b>:</b>
								</td>
								<td>
									<input type="password" name="password" id="password" />
								</td>
							</tr>
<%--

							<tr>
								<td>
									<b>Forgot Password</b>
								</td>
								
								<td>
									<b>:</b>
								</td>
								<td>
									<input type="password" name="Fpword" Id="Fpword" />
								</td>
								
							</tr>

							<tr>
								<td>
									<b>New Register</b>
								</td>
								<td>
									<b>:</b>
								</td>
								<td>
									<a href="register.jsp" />Register </a>
								</td>
							</tr>
--%>
							<tr></tr>
							<tr></tr>
							<tr></tr>

							<tr>
								<td></td>
								<td></td>
								<td>
									<input type="submit" value="Login" />
								<td>
							</tr>
						</table>
					</form>
					
					<script language="JavaScript" type="text/javascript"
   >//<![CDATA[
//You should create the validator only after the definition of the HTML form
  var frmvalidator  = new Validator("myform");
  frmvalidator.EnableMsgsTogether();
 
  frmvalidator.addValidation("userName","req","Please enter your User Name");
  frmvalidator.addValidation("userName","maxlen=40","Max length for User Name is 20");
  frmvalidator.addValidation("userName","email","Please enter a valid email address");
  
  frmvalidator.addValidation("password","req","Please enter Password");
  frmvalidator.addValidation("password","maxlen=20","Max length for Password is 20");
  frmvalidator.addValidation("password","minlen=4","Min length for Password is 4");  
  
//]]></script>
				</div>
			</div>
			
		</div>
		<!-- end content -->
		<!-- start sidebars -->
		<jsp:include page="/sideMenuRight.jsp" />
		<!-- end sidebars -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end page -->
</div>
<jsp:include page="/footer.jsp" />
</body>
</html>






























